home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_macMinButtonStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
2KB
|
47 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _macMinButtonStyle
{
private static var _embed_css_mac_min_dis_png_643722405:Class = _macMinButtonStyle__embed_css_mac_min_dis_png_643722405;
private static var _embed_css_mac_min_down_png_2047936707:Class = _macMinButtonStyle__embed_css_mac_min_down_png_2047936707;
private static var _embed_css_mac_min_over_png_1249372149:Class = _macMinButtonStyle__embed_css_mac_min_over_png_1249372149;
private static var _embed_css_mac_min_up_png_521002267:Class = _macMinButtonStyle__embed_css_mac_min_up_png_521002267;
public function _macMinButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macMinButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".macMinButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_mac_min_up_png_521002267;
this.overSkin = _embed_css_mac_min_over_png_1249372149;
this.downSkin = _embed_css_mac_min_down_png_2047936707;
this.disabledSkin = _embed_css_mac_min_dis_png_643722405;
this.alpha = 0.5;
};
}
}
}
}